'''
#1-100的和
i = 1
sum = 0
while i <= 100: #外循环
    sum += i #循环和加i
    i += 1  #计数器累加
print (sum)  #输出和

#1-100的奇数和
i = 1
sum = 0
while i <= 100:  #外循环
    if i % 2 == 1:
     sum += i  #循环和加i
    i += 1   #计数器累加
print (sum)  #输出和
'''

